package com.myimooc.shiro.web.vo;

import java.io.Serializable;

/**
 * @className: User
 * @description: 用户实体类
 * @date: 2020/5/12
 * @author: cakin
 */

public class User implements Serializable {

    private static final long serialVersionUID = -4486078810058797882L;
    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 记住我
     */
    private Boolean rememberMe;

    @Override
    public String toString() {
        return "User{"
                + "username='" + username + '\''
                + ", password='" + password + '\''
                + ", rememberMe='" + rememberMe + '\''
                + '}';
    }

    public Boolean getRememberMe() {
        return rememberMe;
    }

    public void setRememberMe( Boolean rememberMe ) {
        this.rememberMe = rememberMe;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername( String username ) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword( String password ) {
        this.password = password;
    }
}
